//
// Created by EmFi on 2023/5/19.
//

#ifndef DBMS_OPERATION_H
#define DBMS_OPERATION_H

#include "Point.h"
#include "../Util/TimeUtil.h"

enum OperationType {
    Insert,
    Delete,
    Update,
    Select
};

struct Operation {
    TimeInfo time;
    OperationType type;
    int index;
    long length;
    Point *values;
};

#endif //DBMS_OPERATION_H
